package com.example.cleverz.service.ct;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

import java.time.Duration;

@RestController
@RequestMapping("test")
public class TestC {
    @GetMapping("cc")
    public Mono test() {
        return Mono.delay(Duration.ofMillis(1000)).doOnNext(System.out::println);
    }
}
